package com.teach.mapper;

import com.teach.entity.TbCourseSection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.teach.entity.TbCourseSection
 */
@Mapper
public interface TbCourseSectionMapper extends BaseMapper<TbCourseSection> {

    @MapKey("id")
    List<Map> selectByBaseId(@Param(value = "baseId") Integer baseId);
}




